package net.sf.nlp.ltag.parser;


import java.util.List;
import java.util.Map;

import net.sf.nlp.ltag.data.LTAGTree;
import net.sf.nlp.ltag.persistence.LTAGPersistence;
import net.sf.nlp.ltag.persistence.PersistenceFactory;

import org.apache.log4j.Logger;

public class LTAGLoad 
{
	protected static Logger logger =  Logger.getLogger(LTAGLoad.class);
	
	public static Map<String, List<LTAGTree>> loadTrees()
	{
		LTAGPersistence persistence = PersistenceFactory.createPersistence();
		
		return persistence.loadTrees();
	}
	
	
}
